<script>
	
</script>
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="{:U($module_name.'/package_edit')}" target="dialog" width="600" height="600" rel='32'  ><span>添加套餐</span></a></li>
		</ul>
	</div>
<div class="pageContent">
	<!--
   <form id="myform" action="{:U('Sales/package_addproduct')}" method="post" onsubmit="return validateCallback(this,dialogAjaxDone);">
        <input type="hidden" name="product_id" value="{$proid}" /><input type='hidden' name='data[id]' value='{$procoupon.id}' />
        <div class="pageFormContent nowrap" layoutH="97">
                    <dl>
                <dt>
                    选择套餐：
                </dt>
                <dd>
                    <select name="selecttype" size="3"  style='width:150px;'>
                        <option value="BIG" selected>大宗批发</option>   
						<option value='SERIES' >组合套餐</option>                 
                    </select>
					&nbsp;
					 <select name="package_id"  size="8"  style='width:250px;'>
                        <volist name="seleclist" id='op'>
						<option value="{$op.id}" {if $key==0}selected{/if}>{$op.title}</option>
						</volist>                
                    </select>
					
                </dd>
            </dl>

	

  
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">
                                保存
                            </button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close">
                                取消
                            </button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
	-->
	
		<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>		
				<th>套餐标题</th>		
				<th orderField="name" {if $orderField=='name'}class="{$orderDirection}"{/if}>套餐类型</th>			
				<th>类型</th>
				<th orderField="value" {if $orderField=='value'}class="{$orderDirection}"{/if}>换购BV</th>
				<th>优惠说明</th>

				<th>操作</th>
			</tr>
		</thead>
		<tbody>
			<volist name="list" id="vo">
			<tr target="sid_user" rel="9" style="height:40px;">		
				<td>{$vo.title}</td>		
				<td width='400px;'>{$vo.name} </td>				
				<td>{$vo.subject}</td>
				<td><font color='red'>{$vo.value}</font> BV</td>
				<td width='300px;'>{$vo.remark}</td>
				<td>
					{if $vo['status']}
					<a class="btnEdit" href="{:U('Sales/ju_edit',array('id'=>$vo['id'],'proid'=>$vo['product_id']))}" target="dialog" width="600" height="500" title="编辑">编辑</a>
					{/if}
					<a class="btnDel" href="{:U('Sales/ju_del',array('id'=>$vo['id'],'proid'=>$vo['product_id']))}" target="navTab" title="删除">删除</a>
				</td>
			</tr>
			</volist>
		</tbody>
	</table>
	
	
</div>
